package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.system.SysUserDto;
import com.atguigu.spzx.model.entity.system.SysUser;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository//用来解决serviceImpl爆红
public interface SysUserMapper {
    SysUser selectByUserName(String userName);

    List<SysUser> selectSysUserListByPage(SysUserDto sysUserDto);

    void updateSysUser(SysUser sysUser);

    void insertSysUser(SysUser sysUser);

    void deleteById(Long userId);
}
